package com.ms.p2p.provider;

import com.ms.p2p.bean.PageBean;
import com.ms.p2p.entity.redpacket.RedpacketCategory;

import java.util.List;

/**
 * Created by chensk on 2017/11/22.
 */
public interface RedPacketCategoryProvider {
    public List findPager(PageBean page);

    int findCount();
    public RedpacketCategory get(String id);

    int update(RedpacketCategory redpacketCategory);

    int insert(RedpacketCategory redpacketCategory);

    void delete(String id);
}
